#ifndef _VECTOR_H_
#define _VECTOR_H_

struct vec2
{
	int x;
	int y;

	vec2(int x, int y) : x(x), y(y) {};
	vec2(vec2& v) : x(v.x), y(v.y) {};
	vec2() : x(0), y(0) {};
	vec2 operator+(vec2 const& v) { return vec2(x + v.x, y + v.y); };
	bool operator==(vec2 const& v) { return (x == v.x && y == v.y); };
	bool operator!=(vec2 const& v) { return (x != v.x || y != v.y); };
}; 

#endif